package cn.wolfcode.shop.cloud.util;

import cn.wolfcode.shop.cloud.common.CodeMsg;
import cn.wolfcode.shop.cloud.common.Result;


public class SeckillCodeMsg extends CodeMsg {




    public SeckillCodeMsg() {
    }

    public SeckillCodeMsg(int code, String msg) {
        super(code, msg);
    }

    public static final SeckillCodeMsg PRODUCT_OPT = new SeckillCodeMsg(503011,"调用商品服务繁忙");
    public static final SeckillCodeMsg SECKILL_OPT = new SeckillCodeMsg(50302,"违法操作");
    public static final SeckillCodeMsg SECKILL_ORDER_REPEAT=new SeckillCodeMsg(50303,"不能够重复下单");
    public static final SeckillCodeMsg SECKILL_STOCK_OVER=new SeckillCodeMsg(50304,"库存不足");
    public static final SeckillCodeMsg SECKILL_FAIL=new SeckillCodeMsg(50305,"秒杀失败");
    public static final SeckillCodeMsg VERIEY_CODE_NOT_EMPTY=new SeckillCodeMsg(50306,"验证码不能为空");
    public static final SeckillCodeMsg VERIEY_CODE_ERROP=new SeckillCodeMsg(50307,"验证码错误");


}
